package com.suyuan.dao;

import java.util.List;

import com.suyuan.entity.TransitInfo;
import com.suyuan.entity.TransitInfoExample;
import org.apache.ibatis.annotations.Param;

public interface TransitInfoMapper {
    int countByExample(TransitInfoExample example);

    int deleteByExample(TransitInfoExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(TransitInfo record);

    int insertSelective(TransitInfo record);

    List<TransitInfo> selectByExample(TransitInfoExample example);

    TransitInfo selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") TransitInfo record, @Param("example") TransitInfoExample example);

    int updateByExample(@Param("record") TransitInfo record, @Param("example") TransitInfoExample example);

    int updateByPrimaryKeySelective(TransitInfo record);

    int updateByPrimaryKey(TransitInfo record);

    List<TransitInfo> likeInquiry(@Param("batchId") Integer batchId, @Param("compName") String compName);
}